#pragma once

#ifdef StackTrace_EXPORTS
    #define DLL_EXPORTS  __declspec(dllexport)
#else
    #define DLL_EXPORTS  __declspec(dllimport)
    #pragma comment(lib, "StackTrace.lib")
#endif

#ifdef __cplusplus
extern "C"
{
#endif

    DLL_EXPORTS void TheMalloc(void* ptr, int nSize);
    DLL_EXPORTS void TheFree(void* ptr, int nSize);

#ifdef __cplusplus
}
#endif



